package com.ruoyi.ipms_patent.mapper;

//import com.ruoyi.ipms_patent.entity.Inventor;
import com.ruoyi.ipms_patent.entity.Patent;
import com.ruoyi.system.api.entity.Inventor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/*专利mapper*/
public interface PatentMapper {

    /*新增专利 通过selectkey标签获得自增的id值 */
    int insertOne(Patent patent);

    /*查找专利列表（根据客户id）*/
    List<Patent> selectList(@Param("customerId") int customerId);

    /* 修改专利材料地址 */
    int updatePatent(Patent patent);
}
